package com.hdax.dm.common.api;

import com.hdax.dm.beans.Scheduler.DmSchedulerSeat;
import com.hdax.dm.beans.Scheduler.DmSchedulerSeatPrice;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestParam;
import org.springframework.web.bind.annotation.RestController;

@RestController
public interface schedulerControllerApi {
    @PostMapping("/schedluer/schedluerInfo")
    DmSchedulerSeat dm(@RequestParam("x") Long x,@RequestParam("y") Long y,@RequestParam("schedulerId") Integer schedulerId);

    @PostMapping("/scheduler/schedulerPrice")
    DmSchedulerSeatPrice dmprice(@RequestParam("schedulerId") Long schedulerId,@RequestParam("arealevel") String arealevel);

    @PostMapping("/scheduler/updateschedulerseat")
    Integer updateschedulerseat(@RequestBody DmSchedulerSeat dmSchedulerSeat);

    @PostMapping("/scheduler/updateseat")
    Integer updateseat(@RequestParam("orderNo") String orderNo);
}
